package com.hewanglan.auth.api.service;

import com.hewanglan.auth.api.entity.AuthUserDTO;
import com.hewanglan.auth.api.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("jw-club-auth")

public interface UserFeignService {

    /**
     * 获取用户信息
     */
    @RequestMapping("/user/getUserInfo")
    Result<AuthUserDTO> getUserInfo(@RequestBody AuthUserDTO authUserDTO);
}
